package mock.ab_sd.business;

import java.util.ArrayList;

import mock.ab_sd.common.utility.ListPaging;
import mock.ab_sd.common.valueobject.GovernmentVO;
import mock.ab_sd.daointerface.GovernmentDAOImpl;

/**
 * GovernmentBO.java GovernmentBO class
 * Retrieve data from GovernmentDAO class and pass to 
 * GovernmentOfficeRegionAction
 * @author HAI
 * 
 */
public class GovernmentBOImpl implements GovernmentBO{
	// declare an GovernmentDAO object
	GovernmentDAOImpl governmentDAO = new GovernmentDAOImpl();

	public ArrayList<GovernmentVO> listGovernment(ListPaging paging)
			throws Exception {
		// get and return list government by governmentDAO
		return governmentDAO.getGovernmentList(paging);
	}
}
